import request from '@/utils/request'

// 查询招待费用申请列表
export function listZdfsq(query) {
  return request({
    url: '/system/zdfsq/list',
    method: 'get',
    params: query
  })
}

// 查询招待费用申请详细
export function getZdfsq(id) {
  return request({
    url: '/system/zdfsq/' + id,
    method: 'get'
  })
}

// 新增招待费用申请
export function addZdfsq(data) {
  return request({
    url: '/system/zdfsq',
    method: 'post',
    data: data
  })
}

// 修改招待费用申请
export function updateZdfsq(data) {
  return request({
    url: '/system/zdfsq',
    method: 'put',
    data: data
  })
}

// 删除招待费用申请
export function delZdfsq(id) {
  return request({
    url: '/system/zdfsq/' + id,
    method: 'delete'
  })
}
